﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PlanoAula;

namespace System.Windows.Forms
{
    public class FormEdicao : Form
    {
        
        Guid idItem;
        public FormEdicao()
            : this(Guid.NewGuid())
        {
        }

       
        public FormEdicao(Guid idItem)
            : base()
        {   
            this.idItem = idItem;
        }
        public Guid IdItem
        {
            get { return idItem; }
            set { idItem = value; }
        }
        public void SetarIDDado(Guid id)
        {
            this.idItem = id;            
        }
        /*
        protected virtual void InitializeComponent()
        {
            
            this.SuspendLayout();
            // 
            // FormEdicao
            // 
            this.ClientSize = new System.Drawing.Size(292, 273);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Edição";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.ResumeLayout(false);

        }
         * */

        public Guid GetDefaultItem()
        {
            return Guid.NewGuid();
        }
       
    }
    
}
